/******************************************************************************

  Copyright (C), 2001-2011, Hisilicon Tech. Co., Ltd.

 ******************************************************************************
  File Name     : hi_api_ddal.h
  Version       : Initial Draft
  Author        : Hisilicon multimedia software group
  Created       : 2015/06/8
  Description   : GPIO.c header file
  History       :
  1.Date        : 2015/06/8
    Author      : thomas
    Modification: Created file

******************************************************************************/

#ifndef __HI_PINMUL_H__
#define __HI_PINMUL_H__

#define OSDRV_MODULE_VERSION_STRING "HISI_PINMUL @Hi3518v100R001"

/* define device name */
#define HIPINMUL_DEVICE_NAME "Hi_PINMUL"




#define HI_GPIO0   (0x000 << 16)
#define HI_GPIO1   (0x001 << 16)
#define HI_GPIO2   (0x002 << 16)
#define HI_GPIO3   (0x004 << 16)
#define HI_GPIO4   (0x008 << 16)
#define HI_GPIO5   (0x010 << 16)
#define HI_GPIO6   (0x020 << 16)
#define HI_GPIO7   (0x040 << 16)
#define HI_GPIO8   (0x080 << 16)
#define HI_GPIO9   (0x100 << 16)
#define HI_GPIO10   (0x200 << 16)
#define HI_GPIO11   (0x400 << 16)


#define HI_PIN0    0x0
#define HI_PIN1    0x1
#define HI_PIN2    0x2
#define HI_PIN3    0x4
#define HI_PIN4    0x8
#define HI_PIN5    0x10
#define HI_PIN6    0x20
#define HI_PIN7    0x40


#define GPIO_IOC_PORT   0x0
#define GPIO_IOC_DIR    0x1
#define GPIO_IOC_DATA   0x3
#endif /* End of #ifndef __HI_PINMUL_H__*/

